import {createRouter,createWebHashHistory} from 'vue-router'

import Table from '../table'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:Table
        },
        {
            path:'/:name/:price',
            component:()=>import('../trItem.vue')
        }
    ]
})
export default router